import Vue from 'vue'
import App from './App.vue'
import dataV from '@jiaminghi/data-view'

import store from './store/index'
import 'amfe-flexible'
import '@/common/flexible.js' 
//引入echarts
import echarts from 'echarts'
import 'echarts-gl'

import dayjs from "dayjs"

import axios from "axios";

import fontSize from './common/font'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);


Vue.prototype.$axios = axios
Vue.prototype.$dayjs = dayjs;
Vue.use(dataV)

Vue.prototype.$window = window
Vue.prototype.$fontSize = fontSize

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts

new Vue({
  store,
  render: h => h(App),
}).$mount('#app')
